#include<iostream>
using namespace std;
int main()
{
	float a,d;
	int b;
	string c;
	cin >> a;
	cin >> b;
	cin >> c;
	cin >> d;
	cout << c << " " << b << " ";
	printf("%.2f", a);
	cout << " ";
	printf("%.2f", d);

	return 0;
}
